package com.frxuexi.lib_base.room

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity
data class Leave(
    @PrimaryKey(autoGenerate = true)
    val id:Long?=null,
    val uname:String,
    @ColumnInfo
    val role:String,
    val type:String,
    val startTime:String,
    val endTime:String,
    val createTime:String,
    val reason:String?,
    var status:String,
    var comTime:String?=null,
    var comReason:String?=null
)
